﻿<%@ Page Language="C#" AutoEventWireup="true" Title="已补助医院" CodeBehind="hospitalAmountSubsidyDetails.aspx.cs"  MasterPageFile="~/Master/MasterPage_New.master" Inherits="HZ.Supervise.Web.Secondphase.ReportHospital.hospitalAmountSubsidyDetails" %>
<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="~/Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<%@ Register Src="../../Common/SortControls.ascx" TagName="SortControls" TagPrefix="uc3" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<%-- <div id="nav">
    您的位置：
     
      <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="HospitalAmountSubsidyed.aspx">已发放补助</asp:HyperLink>><asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="">补助医院</asp:HyperLink>
    </div>--%>
    <div id="tabcontent">
  <table class="querylist">
            <tr>
                <td>
<table class="querylist">
                        <tr>
                            <td align="right">
                                <asp:Label ID="labArea" runat="server" Text="所在地区："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlCity" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td align="right">
                                &nbsp;</td>
                            <td align="left">
                                &nbsp;</td>
                            <td align="right">
                                <asp:Label ID="labPlanTime" runat="server" Text="发放时间："></asp:Label>
                                &nbsp;
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtStratTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"
                                    Width="63px"></asp:TextBox>-<asp:TextBox ID="txtEndTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"
                                        Width="63px"></asp:TextBox>
                            </td>
                            <td align="left">
                                &nbsp;</td>
                            <td align="left">
                                <asp:DropDownList ID="ddlState" runat="server" Visible="false">
                                    <asp:ListItem Value="0">全部</asp:ListItem>
                                    <asp:ListItem Value="1">已发放未确认</asp:ListItem>
                                    <asp:ListItem Value="2">已发放已确认</asp:ListItem>
                                </asp:DropDownList>
                              
                            </td>
                        </tr>
                    </table>
                    </td>
                      <td width="100px">
                    <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn" SkinID="search"
                        ToolTip="点击查询符合条件的数据" onclick="btnQuery_Click" />
                </td>
            </tr>
        </table>
   </div>
 <asp:GridView ID="gvwDetail" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无有效的信息！" onrowcommand="gvwDetail_RowCommand">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%# Container.DataItemIndex + 1 + AspNetPager1.PageSize *

(AspNetPager1.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField HeaderText="所属地区" DataField="Sareaname" />
       
                <asp:TemplateField HeaderText="医院名称">
                <%--<ItemTemplate>
                      <a href="HospitalAmountSubsidyDetail.aspx?id2=<%# Eval

("SubsidyID")%>"><%# Eval("SHospitalName")%></a>
                </ItemTemplate>--%>
                 <ItemTemplate>
                    <asp:LinkButton ID="lbnDetail" runat="server" CommandName="SHospitalName" CommandArgument='<%# Eval

("SubsidyID")%>'><%# Eval("SHospitalName")%></asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField> 
            <asp:BoundField DataField="SsumAmount" HeaderText="处方单药品药总金额" ReadOnly="True" />
            <asp:BoundField DataField="SubsidyAmount" HeaderText="补助金额" ReadOnly="True" />
            <asp:BoundField DataField="Remark" HeaderText="备注" ReadOnly="True" />
            <asp:BoundField DataField="SubsidyStartTime" HeaderText="统计开始时间" ReadOnly="True" 

/>
            <asp:BoundField DataField="SubsidyEndTime" HeaderText="统计结束时间" ReadOnly="True" 

/>
            <asp:BoundField DataField="Saddtime" HeaderText="发放时间" ReadOnly="True" />
            <asp:BoundField DataField="State" HeaderText="发放状态" ReadOnly="True" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" onpagechanged="AspNetPager1_PageChanged"  

>
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示::<span>&nbsp; </span></li>
        </ul>
    </div>
</asp:Content>

